package com.lhf.springcloud.DAO.log;

import com.lhf.springcloud.Entity.log.LogData;
import com.lhf.springcloud.Entity.teacher.TeacherBasicData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LogDataMapper {
    List<TeacherBasicData> findAllTeacherBasicData(Integer startPage, Integer endPage);

    List<TeacherBasicData> findByTeacherIdCard(String idCard, String teacherName, Integer page, Integer limit);

    void updateTeacherData(String value, String id, String field);

    void addLogData(LogData logData);
    int accountTeacher();

    List<LogData> findLogDataById(Integer page, Integer limit, String id);

    int accountLogData();
}
